package com.hst.web.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hst.core.annotation.Comment;
import com.hst.core.dao.BaseEntity;

@Entity
@Table(name = "t_account_identity")
@Comment("账户实名身份信息表")
public class TAccountIdentity extends BaseEntity {

	@Id
	@Column(name = "username", length = 20)
	@Comment("用户名")
	private String userName;

	@Column(name = "tel_number", length = 20, nullable = false)
	@Comment("手机号")
	private String telNumber;

	@Column(name = "papers_number", length = 32, nullable = false)
	@Comment("证件号")
	private String papersNumber;

	@Column(name = "papers_type", length = 2, nullable = false)
	@Comment("证件类型")
	private String papersType;

	@Column(name = "employee_code", length = 16)
	@Comment("人员编号")
	private String employeeCode;

	@Column(name = "dynamic_face", length = 100)
	@Comment("人脸照片")
	private String dynamicFace;

	@Column(name = "fullname", length = 100, nullable = false)
	@Comment("用户姓名")
	private String fullname;

	@Column(name = "sex", length = 4)
	@Comment("性别")
	private String sex;

	@Column(name = "nationality", length = 20)
	@Comment("国籍")
	private String nationality;

	@Column(name = "nativeplace", length = 40)
	@Comment("籍贯")
	private String nativePlace;

	@Column(name = "redflag", length = 2)
	@Comment("红名单")
	private String redFlag;

	@Column(name = "address", length = 100)
	@Comment("居住地址")
	private String address;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTelNumber() {
		return telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public String getPapersNumber() {
		return papersNumber;
	}

	public void setPapersNumber(String papersNumber) {
		this.papersNumber = papersNumber;
	}

	public String getPapersType() {
		return papersType;
	}

	public void setPapersType(String papersType) {
		this.papersType = papersType;
	}

	public String getDynamicFace() {
		return dynamicFace;
	}

	public void setDynamicFace(String dynamicFace) {
		this.dynamicFace = dynamicFace;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getNationality() {
		return nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public String getNativePlace() {
		return nativePlace;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	public String getRedFlag() {
		return redFlag;
	}

	public void setRedFlag(String redFlag) {
		this.redFlag = redFlag;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

}
